package com.web.dao.novel;

import com.web.bean.novel.Novel;

import java.util.List;

/**
 * @autor Chen
 * 实现 书籍的增删改
 * @create 2021--25-9:00
 * @desc
 */
public interface  NovelDao {
    List<Novel> selectNovels() throws Exception;
    Novel selectById(String nid) throws Exception;
    void addNovel(Novel novel) throws Exception;
    void updateNovel(Novel novel) throws Exception;
    void deleteNovelById(String nid) throws Exception;

}
